package com.ssuu.ssuusnow;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
public class IndexController {
    @GetMapping("/")
    public String index(){
        return "\n" +
                "<style>\n" +
                "  body,html{\n" +
                "    margin: 0;\n" +
                "    padding: 0;\n" +
                "    font-size: 24px;background-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);\n" +
                "  }\n" +
                "</style><div style=\"background-image:-webkit-linear-gradient(top, #bc2f08,#d75d10,#de6912);\n" +
                "-webkit-background-clip:text;\n" +
                "-webkit-text-fill-color:transparent;display: flex;align-items: center;justify-content: center;height: 100vh\">\n" +
                "我将于茫茫人海中访我唯一灵魂之伴侣;得之,我幸;不得,我命,如此而已。</div>";
    }
}
